package com.ytf.test.tenth;

/**
 * @author: YTF
 * @date: 2025/3/27
 * @version: 1.0
 * @description:
 */
class MNA{
    private void f(){}
    class A{
        private void g(){}
        public class B{
            void h(){
                f();
                g();
            }
        }
    }
}
public class MultiNestingAccess {
    public static void main(String[] args) {
        MNA mna = new MNA();
        MNA.A a = mna.new A();
        MNA.A.B b = a.new B();
        b.h();
    }
}
